package com.atguigu.common.gulimallEnum;

public enum purchaseEnum {

    //          <el-option label="新建" :value="0"></el-option>
    //          <el-option label="已分配" :value="1"></el-option>
    //          <el-option label="已领取" :value="2"></el-option>
    //          <el-option label="已完成" :value="3"></el-option>
    //          <el-option label="有异常" :value="4"></el-option>
    PURCHASR_FORM_CREATED(0L, "采购单新建"),
    PURCHASR_FORM_DISTRIBUTE(1L, "采购单已分配"),
    PURCHASR_FORM_RECEIVE(2L, "采购单已领取"),
    PURCHASR_FORM_FINISHED(3L, "采购单已完成"),
    PURCHASR_FORM_HASERROR(4L, "采购单有异常");

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private Long code;
    private String msg;

    purchaseEnum(Long code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
